<?php
//游戏数据库配置
$username = 'root';
$password = '123456';
$dataname = 'baibaoxiyou1';
$conn = @mysql_connect("localhost",$username,$password);
if (!$conn){
    die("连接数据库失败：" . mysql_error());
}
mysql_select_db($dataname, $conn);
mysql_query("set character set 'utf8'");
mysql_query("set names utf8");	

?>